#ifndef SKILLPROXYMODEL_H
#define SKILLPROXYMODEL_H



#include "proxies_global.h"
#include "AbstractTreeProxyModel.h"



class PROXIESSHARED_EXPORT SkillProxyModel : public AbstractTreeProxyModel
{
    Q_OBJECT

public:

    enum Field
    {
        Field_FIRST = 0,
        NameField = Field_FIRST,
        RefField,
        Field_LAST = RefField
    };


    SkillProxyModel(QObject *parent = 0);

    virtual int columnCount(const QModelIndex &parent) const;
    virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const;


protected slots:

    virtual void remap();

    void mapSkillIndex(const QModelIndex& index);
    void mapSubIndexes(const QModelIndex& index);


};

#endif // SKILLPROXYMODEL_H
